/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __EAF07D0E_01CC_4d2f_BE7B_41F127EB3053__
#define __EAF07D0E_01CC_4d2f_BE7B_41F127EB3053__

#include "../tools/head.h"

/////////////////////////////////////////////////////////////////////////////////////////
// 

namespace xos_aio
{

    class aio_data : public xos_stl::mem_item< aio_data, thread_lock >
    {
    public:
        typedef aio_data T;

    public:
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        // 
        static int get_xos_item_data( ITEM_DATA*& item_ptr );

    public:
        aio_data();
        ~aio_data();

    public:
        xos_box::i_msg * m_pMsg;

    public:
        int release();
        int init();
        int term();

    };
} // xos_aio

#endif // __EAF07D0E_01CC_4d2f_BE7B_41F127EB3053__
